package com.ee.chat.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.entity.GiftConfig;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author AppiJ
 * @date 2019年10月30日 19:45
 */
public interface IGiftService {

    Result list(HttpServletRequest request, String keyword, Integer status, Integer page, Integer limit) throws Exception;

    Result add(HttpServletRequest request, GiftConfig giftConfig) throws Exception;

    Result toEdit(HttpServletRequest request, Integer id) throws Exception;

    Result updateStatus(HttpServletRequest request, List<Integer> ids, Integer status) throws Exception;
}
